using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class DMS028Entity:AF_ORM.CORE.BaseEntity
    {
         public DMS028Entity()
         {
             tableName = "DMS028";


			 fieldInfos.Add(new FieldInfo("DMS028","ORDER_NO","ORDER_NO","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","PART_NO","PART_NO","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","LINE_NO","LINE_NO","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","WH_CODE","WH_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","STATUS","STATUS","string",10,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","BO_FLAG","BO_FLAG","string",1,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","QTY","QTY","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","PRICE","PRICE","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","ALL_QTY","ALL_QTY","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","BO_QTY","BO_QTY","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","DLV_QTY","DLV_QTY","double",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","CANCEL_QTY","CANCEL_QTY","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","DISCOUNT_RATE","DISCOUNT_RATE","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","DISCOUNT_AMNT","DISCOUNT_AMNT","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","VAT_ID","VAT_ID","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","ACTFLG","ACTFLG","string",1,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","CTDUSR","CTDUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","CTDWKS","CTDWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","CTDPGM","CTDPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","CTDDTM","CTDDTM","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","MDFUSR","MDFUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","MDFWKS","MDFWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","MDFPGM","MDFPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS028","LSTMDF","LSTMDF","DateTime",0,false,false,false,false,"","",""));
         }
       //properties
                    
		 protected string m_ORDER_NO;
		 protected string m_PART_NO;
		 protected string m_LINE_NO;
		 protected string m_WH_CODE;
		 protected string m_STATUS;
		 protected string m_BO_FLAG;
		 protected double m_QTY;
		 protected double m_PRICE;
		 protected double m_ALL_QTY;
		 protected double m_BO_QTY;
		 protected double m_DLV_QTY;
		 protected double m_CANCEL_QTY;
		 protected double m_DISCOUNT_RATE;
		 protected double m_DISCOUNT_AMNT;
		 protected string m_VAT_ID;
		 protected string m_ACTFLG;
		 protected string m_CTDUSR;
		 protected string m_CTDWKS;
		 protected string m_CTDPGM;
		 protected DateTime m_CTDDTM;
		 protected string m_MDFUSR;
		 protected string m_MDFWKS;
		 protected string m_MDFPGM;
		 protected DateTime m_LSTMDF;

		 public string ORDER_NO

          { 
                get { 
                    return m_ORDER_NO;}

                set{m_ORDER_NO=value;

                    GetField("ORDER_NO").Set();
                    GetField("ORDER_NO").IsNull=(value == null);           
                    }
          }
		 public string PART_NO

          { 
                get { 
                    return m_PART_NO;}

                set{m_PART_NO=value;

                    GetField("PART_NO").Set();
                    GetField("PART_NO").IsNull=(value == null);           
                    }
          }
		 public string LINE_NO

          { 
                get { 
                    return m_LINE_NO;}

                set{m_LINE_NO=value;

                    GetField("LINE_NO").Set();
                    GetField("LINE_NO").IsNull=(value == null);           
                    }
          }
		 public string WH_CODE

          { 
                get { 
                    return m_WH_CODE;}

                set{m_WH_CODE=value;

                    GetField("WH_CODE").Set();
                    GetField("WH_CODE").IsNull=(value == null);           
                    }
          }
		 public string STATUS

          { 
                get { 
                    return m_STATUS;}

                set{m_STATUS=value;

                    GetField("STATUS").Set();
                    GetField("STATUS").IsNull=(value == null);           
                    }
          }
		 public string BO_FLAG

          { 
                get { 
                    return m_BO_FLAG;}

                set{m_BO_FLAG=value;

                    GetField("BO_FLAG").Set();
                    GetField("BO_FLAG").IsNull=(value == null);           
                    }
          }
		 public double QTY

          { 
                get { 
                    return m_QTY;}

                set{m_QTY=value;

                    GetField("QTY").Set();
                    GetField("QTY").IsNull=(value == null);           
                    }
          }
		 public double PRICE

          { 
                get { 
                    return m_PRICE;}

                set{m_PRICE=value;

                    GetField("PRICE").Set();
                    GetField("PRICE").IsNull=(value == null);           
                    }
          }
		 public double ALL_QTY

          { 
                get { 
                    return m_ALL_QTY;}

                set{m_ALL_QTY=value;

                    GetField("ALL_QTY").Set();
                    GetField("ALL_QTY").IsNull=(value == null);           
                    }
          }
		 public double BO_QTY

          { 
                get { 
                    return m_BO_QTY;}

                set{m_BO_QTY=value;

                    GetField("BO_QTY").Set();
                    GetField("BO_QTY").IsNull=(value == null);           
                    }
          }
		 public double DLV_QTY

          { 
                get { 
                    return m_DLV_QTY;}

                set{m_DLV_QTY=value;

                    GetField("DLV_QTY").Set();
                    GetField("DLV_QTY").IsNull=(value == null);           
                    }
          }
		 public double CANCEL_QTY

          { 
                get { 
                    return m_CANCEL_QTY;}

                set{m_CANCEL_QTY=value;

                    GetField("CANCEL_QTY").Set();
                    GetField("CANCEL_QTY").IsNull=(value == null);           
                    }
          }
		 public double DISCOUNT_RATE

          { 
                get { 
                    return m_DISCOUNT_RATE;}

                set{m_DISCOUNT_RATE=value;

                    GetField("DISCOUNT_RATE").Set();
                    GetField("DISCOUNT_RATE").IsNull=(value == null);           
                    }
          }
		 public double DISCOUNT_AMNT

          { 
                get { 
                    return m_DISCOUNT_AMNT;}

                set{m_DISCOUNT_AMNT=value;

                    GetField("DISCOUNT_AMNT").Set();
                    GetField("DISCOUNT_AMNT").IsNull=(value == null);           
                    }
          }
		 public string VAT_ID

          { 
                get { 
                    return m_VAT_ID;}

                set{m_VAT_ID=value;

                    GetField("VAT_ID").Set();
                    GetField("VAT_ID").IsNull=(value == null);           
                    }
          }
		 public string ACTFLG

          { 
                get { 
                    return m_ACTFLG;}

                set{m_ACTFLG=value;

                    GetField("ACTFLG").Set();
                    GetField("ACTFLG").IsNull=(value == null);           
                    }
          }
		 public string CTDUSR

          { 
                get { 
                    return m_CTDUSR;}

                set{m_CTDUSR=value;

                    GetField("CTDUSR").Set();
                    GetField("CTDUSR").IsNull=(value == null);           
                    }
          }
		 public string CTDWKS

          { 
                get { 
                    return m_CTDWKS;}

                set{m_CTDWKS=value;

                    GetField("CTDWKS").Set();
                    GetField("CTDWKS").IsNull=(value == null);           
                    }
          }
		 public string CTDPGM

          { 
                get { 
                    return m_CTDPGM;}

                set{m_CTDPGM=value;

                    GetField("CTDPGM").Set();
                    GetField("CTDPGM").IsNull=(value == null);           
                    }
          }
		 public DateTime CTDDTM

          { 
                get { 
                    return m_CTDDTM;}

                set{m_CTDDTM=value;

                    GetField("CTDDTM").Set();
                    GetField("CTDDTM").IsNull=(value == null);           
                    }
          }
		 public string MDFUSR

          { 
                get { 
                    return m_MDFUSR;}

                set{m_MDFUSR=value;

                    GetField("MDFUSR").Set();
                    GetField("MDFUSR").IsNull=(value == null);           
                    }
          }
		 public string MDFWKS

          { 
                get { 
                    return m_MDFWKS;}

                set{m_MDFWKS=value;

                    GetField("MDFWKS").Set();
                    GetField("MDFWKS").IsNull=(value == null);           
                    }
          }
		 public string MDFPGM

          { 
                get { 
                    return m_MDFPGM;}

                set{m_MDFPGM=value;

                    GetField("MDFPGM").Set();
                    GetField("MDFPGM").IsNull=(value == null);           
                    }
          }
		 public DateTime LSTMDF

          { 
                get { 
                    return m_LSTMDF;}

                set{m_LSTMDF=value;

                    GetField("LSTMDF").Set();
                    GetField("LSTMDF").IsNull=(value == null);           
                    }
          }

}
}
